﻿using System;
using System.Threading;

using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;

using GHIElectronics.NETMF.FEZ;
using GHIElectronics.NETMF.IO;
using Microsoft.SPOT.IO;
using System.Text;
using System.IO;

namespace SDCardWriteTests
{
    public class Program
    {
        static Timer t;
        public static void Main()
        {
            Debug.EnableGCMessages(false);
            PersistentStorage sdPS = new PersistentStorage("SD");

            sdPS.MountFileSystem();
            var rootDirectory = VolumeInfo.GetVolumes()[0].RootDirectory;
            
            
            Sensors s = new Sensors(rootDirectory);
            s.HighSpeedRead();
            
            

        }

     
    }
}
